<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/js/bootstrap.bundle.min.js"></script>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <link rel="stylesheet" href="/stylesheets/common.css">
    <link rel="stylesheet" href="/stylesheets/iconfont.css">
    <style>
        .footer {
            background-color: white;
            border-radius: 10px;
            text-align: center;
            position: absolute;
            bottom: 0;
            width: 100vw;
        }
        .footer>div{
            width: 25%;
        }

        iframe {
            width: 100%;
            height: 100vh;
            border: none;
            margin: 0;
            padding: 0;
        }
        p{
            margin-bottom: 0;
        }
    </style>
</head>

<body>
    <iframe class="ifram" src="" id="iframe"></iframe>
    <div class="footer mt-1 d-flex justify-content-around align-items-center">
        <div class="first">
            <div class="iconfont icon-guahaowenzhen"></div>
            <p>首页</p>
        </div>
        <div class="second">
            <div class="iconfont icon-jilu"></div>
            <p>消息</p>
        </div>
        <div class="third">
            <div class="iconfont icon-huanzhedianzidangan"></div>
            <p>健康圈</p>
        </div>
        <div class="forth">
            <div class="iconfont icon-zhuanjia"></div>
            <p>个人中心</p>
        </div>
    </div>
    <script>
        $(".ifram").attr("src", "/home.html");
        // 跳转页面  
        function skip() {
            $(".first").click(function () {
                $(".ifram").attr("src", "/home.html");
            })
            $(".second").click(function () {
                $(".ifram").attr("src", "/massage.html");
            })
            $(".third").click(function () {
                $(".ifram").attr("src", "/health.html");
            })
            $(".forth").click(function () {
                $(".ifram").attr("src", "/personalcenter.html");
            })
        }
        skip();
    </script>
</body>

</html>